import request from '@/utils/request'

export const getAdvCourse = () => {
    return request({
        method: 'GET',
        url: '/course/getAdvCourse'
    })
}


export const getNewCourse = params => {
    return request({
        method: 'GET',
        url: '/course/getNewCourse',
        params
    })
}

export const getGoodCourse = params => {
    return request({
        method: 'GET',
        url: '/course/getGoodCourse',
        params
    })
}

export const getLearnRoute = params => {
    return request({
        method: 'GET',
        url: '/course/getLearnRoute',
        params
    })
}